package com.example.xm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Video {
    private Integer id;
    private Boolean isDing;
    private Boolean isCai;
    private Boolean isShoucang;
    private String name;
    private String img;
    private String cname;
    private String url;
    private Integer cid;
    private Integer ding;
    private Integer cai;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
